package moo.stargalaxy_bukkit.data;

public class ServerData {
    //%Galaxysu_fid%  —— 读取本子服编码
    //%Galaxysu_ower_name%  —— 读取本子服服主名字
    //%Galaxysu_ower_uuid%  —— 读取本子服服主识别码
    //%Galaxysu_server_createtime%  —— 读取本子服创建时间
    //%Galaxysu_server_onlineplayer%  —— 读取本子服在线玩家数
    //%Galaxysu_server_maxplayer%  —— 读取本子服最大玩家数
    //——————
    //%Galaxyzm_total%  —— 读取玩家子服总数量
    //%Galaxyzm_<排序>_fid%  —— 读取玩家第X个子服的序号
    //%Galaxyzm_<子服编号>_name%  —— 读取本子服名字
    //%Galaxyzm_<子服编号>_createtime%  —— 读取本子服创建时间
    //%Galaxyzm_<子服编号>_onlineplayer%  —— 读取本子服在线玩家数
    //%Galaxyzm_<子服编号>_maxplayer%  —— 读取本子服最大玩家数
    //%Galaxyzm_<子服编号>_ower_name%  —— 读取本子服服主名字
    //%Galaxyzm_<子服编号>_ower_uuid%  —— 读取本子服服主识别码
    //%Galaxyzm_<子服编号>_run_sataus%  —— 读取本子服运行状态文本
    //————  注意：定期刷新玩家子服缓存，变量数据从缓存读，避免实时读取卡死
    private String serverName;
    private String ownerName;
    private String ownerUUID;
    private String createTime;
    private String onlinePlayers;
    private String maxPlayers;
    private String runState;

    public ServerData(String serverName, String ownerName, String ownerUUID, String createTime, String onlinePlayers, String maxPlayers, String runState) {
        this.serverName = serverName;
        this.ownerName = ownerName;
        this.ownerUUID = ownerUUID;
        this.createTime = createTime;
        this.onlinePlayers = onlinePlayers;
        this.maxPlayers = maxPlayers;
        this.runState = runState;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerUUID() {
        return ownerUUID;
    }

    public void setOwnerUUID(String ownerUUID) {
        this.ownerUUID = ownerUUID;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOnlinePlayers() {
        return onlinePlayers;
    }

    public void setOnlinePlayers(String onlinePlayers) {
        this.onlinePlayers = onlinePlayers;
    }

    public String getMaxPlayers() {
        return maxPlayers;
    }

    public void setMaxPlayers(String maxPlayers) {
        this.maxPlayers = maxPlayers;
    }

    public String getRunState() {
        return runState;
    }

    public void setRunState(String runState) {
        this.runState = runState;
    }
}
